﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace Wix.Aura.Common {
	public class ComponentCondition : IXmlSerializable {
		public ComponentCondition() { }
		public ComponentCondition(string condition) {
			Condition = condition;
		}

		public string Condition { get; set; }

		public System.Xml.Schema.XmlSchema GetSchema() {
			throw new NotImplementedException();
		}

		public void ReadXml(System.Xml.XmlReader reader) {
			throw new NotImplementedException();
		}

		public void WriteXml(System.Xml.XmlWriter writer) {
			writer.WriteStartElement("Condition");
			writer.WriteString(Condition);
			writer.WriteEndElement();
		}
	}
}
